package com.api.manage.pojo.workflow;

import com.api.manage.base.PageBean;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 工作流节点定义
 * </p>
 *
 * @author 腾木
 * @since 2023-11-09
 */
@Data
@NoArgsConstructor
@ApiModel(value="FlowNode对象", description="工作流节点定义")
public class FlowNodeBean extends PageBean implements Serializable {

    private static final long serialVersionUID=3454576790891L;

    @ApiModelProperty(value = "流程节点定义表")
    private Long flowNodeId;

    @ApiModelProperty(value = "流程类型id")
    private Long flowId;

    @ApiModelProperty(value = "前一个节点")
    private Long beforeNodeId;

    @ApiModelProperty(value = "1默认执行 2并且多分支 3或者分支 10结束")
    private Integer nextType;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty(value = "抵达本节点状态")
    private String statusName;

    @ApiModelProperty(value = "前进到该节点的按钮名称")
    private String buttonToName;

    @ApiModelProperty(value = "打回该节点的按钮名称")
    private String buttonBackName;

    @ApiModelProperty(value = "日志名称，操作人名称：如 制单人，审核人，批准人")
    private String logName;

    @ApiModelProperty(value = "执行人 1角色 2部门 3个人 4多人-多条数据")
    private Integer exeType;

    @ApiModelProperty(value = "1并且 2或")
    private Integer exeAndOr;
}